﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dukou.Domain;

namespace Dukou.Dao
{
    /// <summary>
    /// 
    /// </summary>
    public interface IEnumerationDao : INHibernateDao<Enumeration, Int64>
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="categoryId"></param>
        /// <returns></returns>
        IList<Enumeration> SelectByCategory(Int64 categoryId);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="category"></param>
        /// <returns></returns>
        IList<Enumeration> SelectByCategory(string category);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="category"></param>
        /// <returns></returns>
        IList<Enumeration> SelectByCategory(EnumerationCategory category);
    }
}
